<!-- 教练 – 我的 – 所在团队			team -->
<template>
	<view class="" v-if="data != ''">
		<view class="notifications-top">
			<view class="w90" @click="toMtuandui(data.id)">
				<view class="f b p_t_31">
					<view>
						<image style="width: 100rpx;height: 100rpx;border-radius: 200rpx;" :src="data.logo" mode=""></image>
					</view>
					<view>
						<view class="vw65 f b">
							<text class="fs32 bold ellipsis">{{data.name}}</text>
						</view>
						<view class="team-lan m_t_20">
							<text class="fs20 blue">已认证</text>
						</view>
					</view>
				</view>
				<view class="vw60 f b c" style="margin-left:130rpx;">
					<view>
						<text class="fs22">共{{data.team_num?data.team_num:0}}人</text>
					</view>
					<view class="">
						<image style="width: 24rpx;height: 24rpx;" src="../../../static/img/069.png" mode=""></image>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				data:[]
			}
		},
		onLoad() {
			// 动态导航条文字
			uni.setNavigationBarTitle({
				title: '我的团队'
			})
			this.init()
		},
		methods: {
			init(){
				this.$http.post(this.$config.UrlPostteamInfo, {}).then((res) => {
					if (res.status == 1) {
						this.data = res.data
					}
				})
			},
			toMtuandui(id){
				uni.navigateTo({
					url:'../Details/Details?id='+id
				})
			}
		}
	}
</script>

<style scoped>
	.warps {
		height:95vh;
		overflow: hidden;
		background-color: #F6F8FC;
	}
	.notifications-top{
		width: 686rpx;
		height: 220rpx;
		opacity: 1;
		background: #ffffff;
		border-radius: 16rpx;
		box-shadow: 0rpx 0rpx 8rpx 0rpx rgba(0,0,0,0.16);
		margin:0 auto;
	}
	.team-lan{
		width: 76rpx;
		height: 40rpx;
		line-height:40rpx;
		text-align: center;
		opacity: 1;
		background: #f1f6ff;
		border-radius: 4rpx;
	}
</style>




